package com.ca.project.Server.Modules.TweetsImg.Converter;

import com.ca.project.Server.Modules.TweetsImg.Context.ReturnPicContext;
import com.ca.project.Server.Modules.TweetsImg.Context.UploadImgContext;
import com.ca.project.Server.Modules.TweetsImg.Entity.TweetsImg;
import com.ca.project.Server.Modules.TweetsImg.PO.ReturnPicPO;
import com.ca.project.Server.Modules.TweetsImg.PO.UploadImgPO;
import org.mapstruct.Mapper;

/**
 * @PACKAGE_NAME: com.ca.project.Server.Modules.TweetsImg.Converter
 * @NAME: TweetsImgConverter
 * @USER: ASUS
 * @DATE: 31/12/2024
 * @TIME: 下午3:47
 **/
@Mapper(componentModel = "spring")
public interface TweetsImgConverter {
    UploadImgContext UploadImgPO2UploadImgContext(UploadImgPO uploadImgPO);

    TweetsImg UploadImgContext2ProductImg(UploadImgContext uploadImgContext);

    ReturnPicContext ReturnPicPO2ReturnPicContext(ReturnPicPO returnPicPO);
}
